POV-Ray : Newsgroups : povray.programming : NO_GLOBAL_LIGHTS_SET_FLAG : NO_GLOBAL_LIGHTS_SET_FLAG Server Time
6 Oct 2024 13:43:47 EDT (-0400)
  NO_GLOBAL_LIGHTS_SET_FLAG  
From: Anders K 
Date: 27 Nov 2002 00:36:36
Message: <3de459e4$1@news.povray.org>
In an earlier message, Nathan Kopp said that NO_GLOBAL_LIGHTS_SET_FLAG in
objects.h is unused and should be removed. However, it is used in one piece
of code, around line 2858 of parse.cpp (at the end of Parse_Light_Group):

Set_CSG_Children_Flag((OBJECT *)Object, Test_Flag((OBJECT *)Object,
NO_GLOBAL_LIGHTS_FLAG),
NO_GLOBAL_LIGHTS_FLAG, NO_GLOBAL_LIGHTS_SET_FLAG);

There is no other code that uses NO_GLOBAL_LIGHTS_SET_FLAG, so I suspect
this is a bug.

--
light_source{6#local D=#macro B(E)#macro A(D)#declare E=(E-#declare
C=mod(E D);C)/D;C#end#while(E)#if(A(8)=7)#declare D=D+2.8;#else#if(
C>2)}torus{1..2clipped_by{box{-2y}}rotate<1 0C>*90translate<D+1A(2)
*2+1#else}cylinder{0(C-v=1).2translate<D+C*A(2)A(4)#end-2 13>finish
{specular 1}pigment{rgb x}#end#end#end-8;1B(445000298)B(519053970)B
(483402386)B(1445571258)B(77778740)B(541684549)B(42677491)B(70)}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.